package com.woniuxy.sringboot01quickstart;

import javafx.scene.chart.ValueAxis;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@ComponentScan(basePackages ={"org.giles.controller","org.peter.controller"})
public class Sringboot01QuickstartApplication {

	public static void main(String[] args) {
		SpringApplication.run(Sringboot01QuickstartApplication.class, args);
	}
	@GetMapping(value = "/hii")
	public String sayHii(){
		return "Hello Woniuxy";
	}


}
